<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        let obj = {
            name: 'zs',
            1: '1',
            2: '3'
        }
        console.log(obj.hasOwnProperty(1))
        console.log(obj.hasOwnProperty('2'))
        console.log(obj.hasOwnProperty('3'))

        let fn = (...arg) => {
            console.log(arg)
            // console.log(arguments)
        }
        fn()

        var set1 = new Set([1, 2, 3, 4, 5, 6, '7'])
        console.log(set1.has('1'))
        console.log(set1.has(1))
        console.log(set1.has(7))
        console.log(set1.has('7'))

        class Chameleon {
            static colorChange(newColor) {
                this.newColor = newColor
            }
        }
    </script>
</body>

</html>